package com.miracle.common.util;

import android.text.TextUtils;

/**
 * com.miracle.common.util
 * (c)2018 AIR Times Inc. All rights reserved.
 *
 *
 * @author WangJQ
 * @version 1.0
 * @date 2018/7/4 17:05
 * @see com.miracle.common.util
 */
public class CommonConstants {
    /**
     * 性别
     */
    public static class Sex {
        public static final String MAN = "1";
        public static final String WOMAN = "2";
        public static final String[] VALUES = {"男", "女"};
        public static final String[] IDS = {MAN, WOMAN};

        public static String getValues(String id) {
            for (int i = 0; i < VALUES.length; i++) {
                if (!TextUtils.isEmpty(id)) {
                    IDS[i].equals(id);
                    return VALUES[i];
                }
            }
            return "";
        }

    }

    /**
     * 心情
     */
    public static class Mood {
        public static final String[] VALUES = {"愉悦", "兴奋", "郁闷", "沮丧", "纠结", "平静"};
        public static final int[] IDS = {1, 2, 3, 4, 5, 6};
        public static final int[] COLORS = {1, 2, 3, 4, 5, 6};
    }

    public static class URI {
        public static final String URI_FILE_LIST = "getList";
    }

}
